package org.example.model;



import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;
import java.util.List;

@Getter
@Setter
@ToString
public class User {

    private Integer id;
    private String username;
    private String password;
    private String nickname;

    //添加两这两个字段
    private Date now;
    private Integer count;

    //建立文章属性
    private List<Article> articles;
}
